﻿using System;
namespace System.Data.Services
{
    /// <summary>
    /// Provides values to describe the kind of thing targetted by a 
    /// client request.
    /// </summary>
    [Flags]
    public enum ServiceOperationRights
    {
        /// <summary>Specifies no rights on this service operation.</summary>
        None = 0,
        /// <summary>Specifies the right to read one resource per request.</summary>
        ReadSingle = 1,
        /// <summary>Specifies the right to read multiple resources per request.</summary>
        ReadMultiple = 2,
        /// <summary>Specifies the right to read single or multiple resources in a single request.</summary>
        AllRead = 3,
        /// <summary>Specifies all rights to the service operation.</summary>
        All = 3,
        /// <summary>Actually use ServiceOperationRights, not EntitySetRights for the service operation.</summary>
        OverrideEntitySetRights = 4
    }
}